-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: paginating fetch multiple users request [WPB-4999] #2158
Conversation
Datadog ReportAll test runs ✅ 2 Total Test Services: 0 Failed, 0 with New Flaky, 2 Passed Test Services
|
Codecov Report
@@ Coverage Diff @@
## release/candidate #2158 +/- ##
====================================================
Coverage ? 58.16%
Complexity ? 21
====================================================
Files ? 1010
Lines ? 37721
Branches ? 3434
====================================================
Hits ? 21939
Misses ? 14312
Partials ? 1470 Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIce usage of kollections goodies 🚀
* fix: paginating fetch multiple users request [WPB-4999] * fix logs to print only sizes * fix imports * add tests
* fix: paginating fetch multiple users request [WPB-4999] * fix logs to print only sizes * fix imports * add tests Co-authored-by: Michał Saleniuk <[email protected]> Co-authored-by: Tommaso Piazza <[email protected]>
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
Currently when the app needs to fetch multiple users details, it makes a single request with all userIds. When the list contains around 4000 items, the API returns 413 Content Too Large.
Solutions
Make this request paginated.
Testing
Test Coverage (Optional)
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.